<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;

}
a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.STYLE7 {font-size: 12}

-->
</style>


</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="img/tab_03.gif" width="15" height="30" /></td>
        <td background="img/tab_05.gif"><img src="img/311.gif" width="16" height="16" /> <span class="STYLE4">${biaoti }</span></td>
        <td width="14"><img src="img/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>

  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="img/tab_20.gif" width="15" height="29" /></td>
        <td background="img/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" height="29">
            <form action="method!fieldupdate5?id=${bean.id }" method="post">

日期：<input name="rq" type="text"  value="${rq }">
星期：
<select name="week">
<option value="">所有选项</option>
<option value="星期一" <c:if test="${week=='星期一' }">selected</c:if> >星期一</option>
<option value="星期二" <c:if test="${week=='星期二' }">selected</c:if> >星期二</option>
<option value="星期三" <c:if test="${week=='星期三' }">selected</c:if> >星期三</option>
<option value="星期四" <c:if test="${week=='星期四' }">selected</c:if> >星期四</option>
<option value="星期五" <c:if test="${week=='星期五' }">selected</c:if> >星期五</option>
<option value="星期六" <c:if test="${week=='星期六' }">selected</c:if> >星期六</option>
<option value="星期日" <c:if test="${week=='星期日' }">selected</c:if> >星期日</option>
</select>

时间段：
<select name="time">
<option value="">所有选项</option>
<option value="09点到10点" <c:if test="${time=='09点到10点' }">selected</c:if> >09点到10点</option>
<option value="10点到11点" <c:if test="${time=='10点到11点' }">selected</c:if> >10点到11点</option>
<option value="11点到12点" <c:if test="${time=='11点到12点' }">selected</c:if> >11点到12点</option>
<option value="12点到13点" <c:if test="${time=='12点到13点' }">selected</c:if> >12点到13点</option>
<option value="13点到14点" <c:if test="${time=='13点到14点' }">selected</c:if> >13点到14点</option>
<option value="14点到15点" <c:if test="${time=='14点到15点' }">selected</c:if> >14点到15点</option>
<option value="15点到16点" <c:if test="${time=='15点到16点' }">selected</c:if> >15点到16点</option>
<option value="16点到17点" <c:if test="${time=='16点到17点' }">selected</c:if> >16点到17点</option>
<option value="17点到18点" <c:if test="${time=='17点到18点' }">selected</c:if> >17点到18点</option>
<option value="18点到19点" <c:if test="${time=='18点到19点' }">selected</c:if> >18点到19点</option>
<option value="19点到20点" <c:if test="${time=='19点到20点' }">selected</c:if> >19点到20点</option>
<option value="20点到21点" <c:if test="${time=='20点到21点' }">selected</c:if> >20点到21点</option>
<option value="21点到22点" <c:if test="${time=='21点到22点' }">selected</c:if> >21点到22点</option>
<option value="22点到23点" <c:if test="${time=='22点到23点' }">selected</c:if> >22点到23点</option>

</select>


<input type="submit"  value="查询"/>
</form>
            </td>
            
          </tr>
        </table></td>
        <td width="14"><img src="img/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="img/tab_12.gif">&nbsp;</td>
        <td bgcolor="e5f1d6">
        
        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CECECE" >

          <tr>
            <td  height="26" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">日期</div></td>
			 
			<td  height="26" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">星期</div></td>
			
			<td  height="26" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">时间段</div></td>
			
			<td  height="26" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">已预约人数</div></td>
			
			<td  height="26" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">剩余预约人数</div></td>
			
            <td  height="18" background="img/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">操作</div></td>

          </tr>
          
          <c:forEach items="${list}"  var="yuyue">
          <tr>
           
            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            ${yuyue.rq }&nbsp;
            </div></td>
            
             <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            ${yuyue.week }&nbsp;
            </div></td>

            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            ${yuyue.time }&nbsp;
            </div></td>
            
             <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            ${yuyue.shiji }&nbsp;
            </div></td>
             
            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
            ${yuyue.field.renshu-yuyue.shiji }&nbsp;
            </div></td>
             
            
            
            <td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">
  
  		
  		  <a href="method!fieldupdate6?yuyueid=${yuyue.id }" onclick="return confirm('确定要预约吗?'); ">预约</a>&nbsp; &nbsp; &nbsp;
  		  
  		 
  		  
            </div></td>
            
          </tr>
          </c:forEach>
          
         
          
        </table></td>
        <td width="9" background="img/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="img/tab_20.gif" width="15" height="29" /></td>
        <td background="img/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="21%" height="29"></td>
            
          </tr>
        </table></td>
        <td width="14"></td>
      </tr>
    </table></td>
  </tr>
  
  
</table>
</body>
</html>